import Vue from 'vue'
import Vuex from 'vuex'
import setting from "@/store/modules/setting";
import getters from './modules/getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    setting
  },
  getters
})

export default store

// export default new Vuex.Store({
//   state: {
//     setting
//   },
//   mutations: {
//   },
//   actions: {
//   },
//   modules: {
//   }
// })
